x = fuzzy_triangle(0,1,2); % a symmetric triangle centered at 1
y = fuzzy_triangle(-2,-1,0); % a symmetric triangle centered at -1

a = fuzzy_add(x,y); % should be about zero
xmy = fuzzy_subtract(x,y); % should be about 2
ymx = fuzzy_subtract(y,x); % should be about -2

fuzzy_plot([x y a xmy ymx]); % bam! we plot them all at once just like that

% this does not work, use fuzzy_trapezoid instead
%bad = fuzzy_triangle(0,0,1)
